﻿<%@ Page Language="C#" MasterPageFile="~/admin_cms/admin_master.master" AutoEventWireup="true"
    CodeFile="Qc_News.aspx.cs" Inherits="admin_cms_Qc_News" Title="Untitled Page" %>

<%@ Register Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" TagPrefix="FCK" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>
                Quản lý tin quảng cáo</h5>
        </div>
        <div class="khung_form1">
            <h3>
                Tiêu đề quảng cáo:
            </h3>
            <asp:TextBox ID="txttile" runat="server" class="txtform"></asp:TextBox>
        </div>
        <div style="float: left; margin-left: 45px; width: 100%; overflow: hidden;">
            <h3 style="float: left; font-size: 12px; font-weight: normal; line-height: 25px;
                width: 150px;">
                Nội dung quảng cáo:
            </h3>
            <br />
            <%--<CKEditor:CKEditorControl ID="CKE" runat="server" Width="910px" Height="600px" ResizeEnabled="false"
                BasePath="ckeditor/">
            </CKEditor:CKEditorControl>--%>
            <%--<FCK:FCKeditor ToolbarSet="Basic" runat="server" ID="fckeditornews" Width="910px" Height="600px"
                        BasePath="~/fckeditor/"></FCK:FCKeditor>--%>
            <FCK:FCKeditor runat="server" ID="fcknew" Width="910px" Height="600px" BasePath="~/fckeditor/">
            </FCK:FCKeditor>
        </div>
        <div class="khung_form1">
            <asp:Button ID="Button1" runat="server" Enabled="true" Text="Thêm mới" OnClick="bt_them_advertis_banner" />
            <asp:Button ID="Button2" runat="server" Enabled="false" Text="Update" OnClick="bt_sua_advertis_banner" />
        </div>
    </div>
    <div class="all_khung_form3">
        <div class="griv_content">
            <asp:GridView ID="Griv_Banner" runat="server" CssClass="mGrid" PagerStyle-CssClass="pgr"
                Font-Size="11px" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#DFE2E4"
                OnRowCommand="news_grAll_click">
                <Columns>
                    <asp:BoundField HeaderText="Mã tin" DataField="id" />
                    <asp:BoundField HeaderText="Tiêu đề" DataField="Title" />
                   
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Sửa" ItemStyle-HorizontalAlign="Center" HeaderStyle-CssClass="grid_menu_all_header_style"
                        ItemStyle-CssClass="grid_menu_all_item_style">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="lkupdate" Width="16px" CommandArgument='<%#Eval("id")+"|edit|0" %>'>
                                <img src="style/cssTran/img/write_16.png" title="Click for Edit" /></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Xóa" ItemStyle-HorizontalAlign="Center" HeaderStyle-CssClass="grid_menu_all_header_style"
                        ItemStyle-CssClass="grid_menu_all_item_style">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="lkdelete" Width="16px" CommandArgument='<%#Eval("id")+"|delete|0" %>'>
                            <img alt='' src='style/cssTran/img/close_16.png' title='Click to Delete' /></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
